<!DOCTYPE html>
<html>
<body>
<script src="../resources/runner.js"></script>
<script>
var div = document.createElement("div");
div.appendChild(document.createElement("div"));

PerfTestRunner.measureRunsPerSecond({
    description: "This benchmark covers 'firstChild', 'lastChild', 'nextSibling' and 'previousSibling' in Dromaeo/dom-traverse.html, and other DOM attributes that return a Node object.",
    run: function() {
        var localDiv = div;
        for (var i = 0; i < 100000; i++)
            localDiv.firstChild;
}});
</script>
</body>
</html>
